<div class="card">
    <div data-th-include="web/mid_student/mid_studentAdd"></div>
    <div class="card-block">
        <div class="table-responsive">
            <div id="data-table_wrapper" class="dataTables_wrapper">
                <div class="dataTables_buttons hidden-sm-down actions">
                    <span class="actions__item zmdi zmdi-search" onclick="search()" title="搜索" />
                    <span class="actions__item zmdi zmdi-refresh-alt" onclick="refresh()" title="刷新" />
                    <span class="actions__item zmdi zmdi-collection-plus" data-toggle="modal" data-target="#student-add" shiro:hasPermission="mid_student:add" title="新增考生" />
                    <div class="dropdown actions__item">
                        <i data-toggle="dropdown" class="zmdi zmdi-download"> </i>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="excel" onclick="exportStudentExcel()">
                                Excel (.xlsx) </a>
                        </ul>
                    </div>
                    <div class="dropdown actions__item" shiro:hasAnyPermissions="mid_student:add,mid_student:delete,mid_student:update">
                        <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                        <div class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#student-add" shiro:hasPermission="mid_student:add">新增考生</a>
                            <a href="javascript:void(0)" class="dropdown-item" onclick="updateStudent()" shiro:hasPermission="mid_student:update">修改考生</a>
                            <a href="javascript:void(0)" class="dropdown-item" onclick="deleteStudents()" shiro:hasPermission="mid_student:delete">删除考生</a>
                        </div>
                    </div>
                </div>
                <div id="data-table_filter" class="dataTables_filter">
                    <form class="student-table-form">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 考生号： </span>
                                    <div class="form-group">
                                        <input type="text" name="midStudentId" class="form-control"> <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 操作人： </span>
                                    <div class="form-group">
                                        <input type="text" name="sonUserName" class="form-control"> <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <table id="studentTable" data-mobile-responsive="true" class="mb-bootstrap-table text-nowrap"></table>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{js/app/web/mid_student/mid_student.js}"></script>
<script data-th-src="@{js/app/web/mid_student/mid_studentEdit.js}"></script>
